API - Cache\Xcache_driver
system\cache.php at line 1046

Class Xcache_driver

Dynamic_cache_driver
└─Temporary_cache_driver
└─Xcache_driver

public class Xcache_driver
extends Temporary_cache_driver

XCache variable cache driver. It should be used on hosts that use XCache for PHP acceleration and variable cache.
Author:
Cotonti Team

Method Summary
void

clear(str realm)

void

exists(mixed id, mixed realm)

void

dec(string id, string realm, int value)

void

get(mixed id, mixed realm)

array

get_info()

void

inc(string id, string realm, int value)

void

remove(mixed id, mixed realm)

bool

store(string id, mixed data, string realm, int ttl)

Methods inherited from API - Cache\Temporary_cache_driver
dec, get_info, get_ini_size, inc
Methods inherited from API - Cache\Dynamic_cache_driver
store

Method Detail

system\cache.php at line 1051

clear

public void clear(str realm)
See Also:
Cache_driver::clear()

system\cache.php at line 1073

exists

public void exists(mixed id, mixed realm)
See Also:
Cache_driver::exists()

system\cache.php at line 1081

dec

public void dec(string id, string realm, int value)
See Also:
Temporary_cache_driver::dec()
Parameters:
id - Counter identifier
realm - Realm name
value - Increment value return int Result value

system\cache.php at line 1089

get

public void get(mixed id, mixed realm)
See Also:
Cache_driver::get()

system\cache.php at line 1097

get_info

public array get_info()
See Also:
Temporary_cache_driver::get_info()
Returns:
Associative array containing information

system\cache.php at line 1109

inc

public void inc(string id, string realm, int value)
See Also:
Temporary_cache_driver::inc()
Parameters:
id - Counter identifier
realm - Realm name
value - Increment value return int Result value

system\cache.php at line 1117

remove

public void remove(mixed id, mixed realm)
See Also:
Cache_driver::remove()

system\cache.php at line 1125

store

public bool store(string id, mixed data, string realm, int ttl)
See Also:
Dynamic_cache_driver::store()
Parameters:
id - Object identifier
data - Object value
realm - Realm name
ttl - Time to live, 0 for unlimited
Returns: